﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Motorway_Simulator.Components;


namespace Motorway_Simulator.DataStructures
{
    public class VehicleNode : Node<Vehicle>
    {
        private Point point;

        
        public VehicleNode(Vehicle v, Point p): base(v)
        {
            this.point = p;
        }

        /// <summary>
        /// Gets or sets the P.
        /// </summary>
        /// <value>P.</value>
        public Point P
        {
            get { return point; }
            set { point = value; }
        }
    }
}
